About the Flexible Query Demo
This example shows how to build an application using a BdpDataAdapter where the Select statement used to
generate the data can be changed by the client by selecting a value from an Asp listbox. Notice that the code
calling IDBDataSource.ClearSessionState() in the Page_Load event is only executed if the query has been changed. Otherwise,
ClearSessionState() would always clear changes and set the record pointer to the first row.
Setup Information
Refer to AspSetup.htm, DBWebDemoSetupXML.htm, and DBWebDemoSetupDB.htm
in the demos\delphi.net\dbweb directory for setup and configuration information.
(This sample uses the Interbase employee.gdb.)
Running the Demo
- Start the IDE.
- Open this project.
- Complete the steps from the
Setup Informationsection above.
- Compile the Applicaton (Project Menu, Compile all projects).
- Run the application with debugging (F9) or without debugging
(Shift+Ctrl+F9)